home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 684 / 684.xpi / chrome / fireftp.jar / content / preferences.xul < prev    next >
Extensible Markup Language  |  2009-12-06  |  19KB  |  370 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css"   type="text/css"?>
  4. <?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/preferences.dtd">
  7. <prefwindow id             = "fireftpPreferences3"
  8.             title          = "&title;"
  9.             type           = "prefwindow"
  10.             persist        = "screenX screenY"
  11.             xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.             buttons        = "accept, cancel"
  13.             onload         = "readPreferences()"
  14.             ondialogaccept = "return true">
  15.  
  16.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
  17.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/misc.js"/>
  18.   <script type="application/x-javascript" src="chrome://fireftp/content/js/dialogs/preferences.js"/>
  19.  
  20.   <prefpane id="myPane">
  21.     <preferences>
  22.       <preference id="welcomemodepref"        name="fireftp.welcomemode"       type="bool"/>
  23.       <preference id="errormodepref"          name="fireftp.errormode"         type="bool"/>
  24.       <preference id="refreshmodepref"        name="fireftp.refreshmode"       type="bool"/>
  25.       <preference id="passwordmodepref"       name="fireftp.passwordmode"      type="bool"/>
  26.       <preference id="sessionsmodepref"       name="fireftp.sessionsmode"      type="bool"/>
  27.       <preference id="hiddenmodepref"         name="fireftp.hiddenmode"        type="bool"/>
  28.       <preference id="openmodepref"           name="fireftp.openmode"          type="int"/>
  29.       <preference id="networkpref"            name="fireftp.network"           type="int"/>
  30.       <preference id="timeoutmodepref"        name="fireftp.timeoutmode"       type="bool"/>
  31.       <preference id="retrypref"              name="fireftp.retry"             type="int"/>
  32.       <preference id="attemptspref"           name="fireftp.attempts"          type="int"/>
  33.       <preference id="destructmodepref"       name="fireftp.destructmode"      type="bool"/>
  34.       <preference id="filemodepref"           name="fireftp.filemode"          type="int"/>
  35.       <preference id="asciifilespref"         name="fireftp.asciifiles"        type="unichar"/>
  36.       <preference id="loadmodepref"           name="fireftp.loadmode"          type="int"/>
  37.       <preference id="logmodepref"            name="fireftp.logmode"           type="bool"/>
  38.       <preference id="debugmodepref"          name="fireftp.debugmode"         type="bool"/>
  39.       <preference id="bytespref"              name="fireftp.bytesmode"         type="bool"/>
  40.       <preference id="nopromptpref"           name="fireftp.nopromptmode"      type="bool"/>
  41.       <preference id="logerrormodepref"       name="fireftp.logerrormode"      type="bool"/>
  42.       <preference id="keepalivemodepref"      name="fireftp.keepalivemode"     type="bool"/>
  43.       <preference id="proxytypepref"          name="fireftp.proxytype"         type="string"/>
  44.       <preference id="proxyhostpref"          name="fireftp.proxyhost"         type="unichar"/>
  45.       <preference id="proxyportpref"          name="fireftp.proxyport"         type="int"/>
  46.       <preference id="integrateftplinkspref"  name="fireftp.integrateftplinks" type="bool"/>
  47.       <preference id="temppasvmodepref"       name="fireftp.temppasvmode"      type="bool"/>
  48.       <preference id="activeportmodepref"     name="fireftp.activeportmode"    type="bool"/>
  49.       <preference id="activelowportpref"      name="fireftp.activelow"         type="int"/>
  50.       <preference id="activehighportpref"     name="fireftp.activehigh"        type="int"/>
  51.       <preference id="timestampsmodepref"     name="fireftp.timestampsmode"    type="bool"/>
  52.       <preference id="compressmodepref"       name="fireftp.compressmode"      type="bool"/>
  53.       <preference id="integritymodepref"      name="fireftp.integritymode"     type="bool"/>
  54.       <preference id="concurrentpref"         name="fireftp.concurrent"        type="int"/>
  55.     </preferences>
  56.  
  57.     <tabbox flex="1">
  58.       <tabs>
  59.         <tab label="&general.label;"/>
  60.         <tab label="&interface.label;"/>
  61.         <tab label="&connect.label;"/>
  62.         <tab label="&downup.label;"/>
  63.         <tab label="&credits.label;"/>
  64.       </tabs>
  65.       <tabpanels flex="1">
  66.  
  67.         <!-- :::::::::::::::::::::::::::::: general :::::::::::::::::::::::::::::: -->
  68.  
  69.         <tabpanel id="generaltab" orient="vertical">
  70.           <groupbox>
  71.             <caption label="&messages.label;"/>
  72.             <hbox align="start">
  73.               <checkbox id="welcomemode"  preference="welcomemodepref"  label="&welcome.label;"/>
  74.             </hbox>
  75.             <hbox align="start">
  76.               <checkbox id="errormode"    preference="errormodepref"    label="&error.label;"/>
  77.             </hbox>
  78.           </groupbox>
  79.           <groupbox>
  80.             <caption label="&sessions.label;"/>
  81.             <hbox align="start">
  82.               <checkbox id="passwordmode" preference="passwordmodepref" label="&rememberp.label;"/>
  83.             </hbox>
  84.             <hbox align="start">
  85.               <checkbox id="sessionsmode" preference="sessionsmodepref" label="&rememberd.label;"/>
  86.             </hbox>
  87.           </groupbox>
  88.           <groupbox>
  89.             <caption label="&fileview.label;"/>
  90.             <hbox align="start">
  91.               <checkbox id="refreshmode"  preference="refreshmodepref"  label="&autorefresh.label;" tooltiptext="&refresh.tip;"/>
  92.             </hbox>
  93.             <hbox align="start">
  94.               <checkbox id="hiddenmode"   preference="hiddenmodepref"   label="&hidden.label;"/>
  95.             </hbox>
  96.             <hbox align="start">
  97.               <checkbox id="bytesmode"    preference="bytespref"        label="&bytesmode.label;"/>
  98.             </hbox>
  99.           </groupbox>
  100.         </tabpanel>
  101.  
  102.         <!-- :::::::::::::::::::::::::::::: interface :::::::::::::::::::::::::::::: -->
  103.  
  104.         <tabpanel id="interfacetab" orient="vertical">
  105.           <groupbox>
  106.             <caption label="&startup.label;"/>
  107.             <radiogroup id="loadmode" preference="loadmodepref">
  108.               <radio label="&windowopen.label;" value="0"/>
  109.               <radio label="&tabopen.label;"    value="1"/>
  110.             </radiogroup>
  111.             <spacer style="height:5px"/>
  112.             <hbox align="start">
  113.               <checkbox preference="integrateftplinkspref" id="integrateftplinks" label="&integrateftplnk.label;" oncommand="integrateChange()"/>
  114.             </hbox>
  115.             <hbox align="center" class="indent">
  116.               <checkbox preference="temppasvmodepref"      id="temppasvmode"      label="&temppasvmode.label;"/>
  117.             </hbox>
  118.           </groupbox>
  119.           <groupbox>
  120.             <caption label="&open.label;"/>
  121.             <radiogroup id="openmode"  preference="openmodepref">
  122.               <radio label="&download.label;" value="0"/>
  123.               <radio label="&exec.label;"     value="1"/>
  124.             </radiogroup>
  125.           </groupbox>
  126.           <groupbox>
  127.             <caption label="&logwindow.label;"/>
  128.             <hbox align="start">
  129.               <checkbox id="logmode"      preference="logmodepref"      label="&logmode.label;"/>
  130.             </hbox>
  131.             <hbox align="start">
  132.               <checkbox id="logerrormode" preference="logerrormodepref" label="&logerrormode.label;"/>
  133.             </hbox>
  134.             <hbox align="start">
  135.               <checkbox id="debugmode"    preference="debugmodepref"    label="&debug.label;"/>
  136.             </hbox>
  137.           </groupbox>
  138.         </tabpanel>
  139.  
  140.         <!-- :::::::::::::::::::::::::::::: connect :::::::::::::::::::::::::::::: -->
  141.  
  142.         <tabpanel id="connecttab" orient="vertical">
  143.           <groupbox>
  144.             <caption label="&proxy.label;"/>
  145.             <hbox align="center">
  146.               <menulist id="proxytype" preference="proxytypepref" oncommand="portChange()">
  147.                 <menupopup>
  148.                   <menuitem label="&none.label;"   value="" selected="true"/>
  149.                   <menuseparator/>
  150.                   <menuitem label="HTTP"           value="http"/>
  151.                   <menuitem label="SOCKS 4"        value="socks4"/>
  152.                   <menuitem label="SOCKS 5"        value="socks"/>
  153.                   <menuitem label="&direct.label;" value="direct"/>
  154.                 </menupopup>
  155.               </menulist>
  156.               <label     id="proxyhostlabel" value="&host.label;" control="proxyhost"/>
  157.               <vbox>
  158.                 <textbox id="proxyhost"      preference="proxyhostpref"/>
  159.               </vbox>
  160.               <label     id="proxyportlabel" value="&port.label;" control="proxyport"/>
  161.               <vbox>
  162.                 <textbox id="proxyport"      preference="proxyportpref" size="5" type="number" min="0" max="65535" increment="1" hidespinbuttons="true"/>
  163.               </vbox>
  164.             </hbox>
  165.           </groupbox>
  166.           <groupbox>
  167.             <caption label="&active.label;"/>
  168.             <hbox align="center">
  169.               <vbox>
  170.                 <checkbox  id="activeportmode"    preference="activeportmodepref" label="&limitPorts.label;" oncommand="activePortChange()"/>
  171.               </vbox>
  172.               <label     id="activelowportlabel"  value="&from.label;" control="activelowport"/>
  173.               <vbox>
  174.                 <textbox id="activelowport"       preference="activelowportpref"  size="5" type="number" min="0" max="65535" increment="1" hidespinbuttons="true"/>
  175.               </vbox>
  176.               <label     id="activehighportlabel" value="&to.label;"   control="activehighport"/>
  177.               <vbox>
  178.                 <textbox id="activehighport"      preference="activehighportpref" size="5" type="number" min="0" max="65535" increment="1" hidespinbuttons="true"/>
  179.               </vbox>
  180.             </hbox>
  181.           </groupbox>
  182.           <groupbox>
  183.             <caption label="&concurrent.label;"/>
  184.             <hbox align="center">
  185.               <label id="concurrentlabel" value="&simtransfers.label;" control="concurrent"/>
  186.               <vbox>
  187.                 <textbox id="concurrent" preference="concurrentpref" size="3" type="number" min="1" max="10" increment="1"/>
  188.               </vbox>
  189.             </hbox>
  190.           </groupbox>
  191.           <groupbox>
  192.             <caption label="&recovery.label;"/>
  193.             <hbox align="center">
  194.               <label id="networklabel" value="&network.label;" control="network"
  195.                     tooltiptext="&network.tip;"/>
  196.               <vbox>
  197.                 <textbox id="network"       preference="networkpref" size="3" type="number" min="1" max="600" increment="1" hidespinbuttons="true"/>
  198.               </vbox>
  199.             </hbox>
  200.             <hbox align="start">
  201.               <checkbox  id="keepalivemode" preference="keepalivemodepref" label="&keepalivemode.label;"/>
  202.             </hbox>
  203.             <hbox align="start">
  204.               <checkbox  id="timeoutmode"   preference="timeoutmodepref"   label="&timeout.label;" oncommand="timeoutChange()"/>
  205.             </hbox>
  206.             <vbox>
  207.               <hbox align="center" class="indent">
  208.                 <label   id="retrylabel"    value="&retryd.label;" control="retry" tooltiptext="&retryd.tip;" flex="1"/>
  209.                 <textbox id="retry"         preference="retrypref" size="3" type="number" min="1" max="600" increment="1" hidespinbuttons="true"/>
  210.               </hbox>
  211.               <hbox align="center" class="indent">
  212.                 <label   id="attemptslabel" value="&retrya.label;"    control="attempts" tooltiptext="&retrya.tip;" flex="1"/>
  213.                 <textbox id="attempts"      preference="attemptspref" size="3" type="number" min="1" increment="1" hidespinbuttons="true"/>
  214.               </hbox>
  215.             </vbox>
  216.           </groupbox>
  217.         </tabpanel>
  218.  
  219.         <!-- :::::::::::::::::::::::::::::: down/uploads :::::::::::::::::::::::::::::: -->
  220.  
  221.         <tabpanel id="downuptab" orient="vertical">
  222.           <groupbox>
  223.             <caption label="&transfercaption.label;"/>
  224.             <hbox>
  225.               <vbox>
  226.                 <radiogroup id="filemode" preference="filemodepref" onselect="filemodeChange()">
  227.                   <radio label="&automatic.label;" value="0" tooltiptext="&automatic.tip;"/>
  228.                   <radio label="&binary.label;"    value="1"/>
  229.                   <radio label="&ascii.label;"     value="2"/>
  230.                 </radiogroup>
  231.               </vbox>
  232.               <vbox flex="1" pack="center">
  233.                 <button id="asciibutton"     oncommand="openDialog('asciiFiles.xul', '', 'centerscreen,chrome,modal=yes,dialog=yes,resizable=yes')"
  234.                         label="&asciiTitle;" tooltiptext="&asciifiles.tip;"/>
  235.               </vbox>
  236.             </hbox>
  237.           </groupbox>
  238.           <groupbox>
  239.             <caption label="&duplicates.label;"/>
  240.             <hbox align="start">
  241.               <checkbox id="destructmode" preference="destructmodepref" label="&timer.label;"/>
  242.             </hbox>
  243.             <hbox align="start">
  244.               <checkbox id="nopromptmode" preference="nopromptpref"     label="&nopromptmode.label;"/>
  245.             </hbox>
  246.           </groupbox>
  247.           <groupbox>
  248.             <caption label="&extras.label;"/>
  249.             <hbox align="center">
  250.               <vbox>
  251.                 <checkbox  id="compressmode"    preference="compressmodepref"   label="&usecompression.label;"/>
  252.               </vbox>
  253.             </hbox>
  254.             <hbox align="center">
  255.               <vbox>
  256.                 <checkbox  id="timestampsmode"  preference="timestampsmodepref" label="&synctimestamps.label;"/>
  257.               </vbox>
  258.             </hbox>
  259.             <hbox align="center">
  260.               <vbox>
  261.                 <checkbox  id="integritymode"   preference="integritymodepref"  label="&integritymode.label;"/>
  262.               </vbox>
  263.             </hbox>
  264.           </groupbox>
  265.         </tabpanel>
  266.  
  267.         <!-- :::::::::::::::::::::::::::::: credits :::::::::::::::::::::::::::::: -->
  268.  
  269.         <tabpanel id="creditstab" orient="vertical">
  270.           <hbox pack="center">
  271.             <label value="FireFTP 1.0.7   "/>
  272.             <label value="Mime Čuvalo"          onclick="runInFirefox('http://www.nightlight.ws')"  class="textLink"/>
  273.           </hbox>
  274.           <box pack="center">
  275.             <label value="http://fireftp.mozdev.org" onclick="runInFirefox('http://fireftp.mozdev.org')" class="textLink"/>
  276.           </box>
  277.           <label class="paddingTop boldText" value="&thanks.label;"/>
  278.           <listbox rows="10">
  279.             <listitem label="3ARRANO (Eskerrik asko, Milesker!)"/>
  280.             <listitem label="Erik Anderson"/>
  281.             <listitem label="BatBat (Merci!)"/>
  282.             <listitem label="Scott Bentley (A god among men)"/>
  283.             <listitem label="Paolo Borla (Grazie!)"/>
  284.             <listitem label="Jed Brown"/>
  285.             <listitem label="Patrick Brunschwig (for help on IPC)"/>
  286.             <listitem label="ccpp0 (i18n rock*)"/>
  287.             <listitem label="Abel Chaouqi (Merci!)"/>
  288.             <listitem label="Jason Clark"/>
  289.             <listitem label="DakSrbija (Hvala!)"/>
  290.             <listitem label="damufo (Gracias!)"/>
  291.             <listitem label="Darehanl (Ω│áδºÖ∞è╡δïêδïñ!)"/>
  292.             <listitem label="Declan (Φ¼¥Φ¼¥!)"/>
  293.             <listitem label="Devin Pohly (a million thanks!)"/>
  294.             <listitem label="Tomasz Dominikowski (Dziekuje!)"/>
  295.             <listitem label="Edgar (Gracias!)"/>
  296.             <listitem label="Elric Erekose"/>
  297.             <listitem label="Daniel Mu├▒iz Fontoira (Grazas!)"/>
  298.             <listitem label="Ze Francisco (Obrigado!)"/>
  299.             <listitem label="Fux (Danke!)"/>
  300.             <listitem label="Hendrik Gebhardt (Danke!)"/>
  301.             <listitem label="gezmen (Teşekkürler!)"/>
  302.             <listitem label="Alfons Van Hees (Dank u!)"/>
  303.             <listitem label="helge4 (Tack!)"/>
  304.             <listitem label="Angel Herráez (Gracias!)"/>
  305.             <listitem label="Bob Henson"/>
  306.             <listitem label="Petr Hl├ívka"/>
  307.             <listitem label="iacchi (Grazie!)"/>
  308.             <listitem label="Iacopo Benesperi (Grazie!)"/>
  309.             <listitem label="isn (Spasibo!)"/>
  310.             <listitem label="Mikkel Jensen (Tak!)"/>
  311.             <listitem label="Joergen (Tak!)"/>
  312.             <listitem label="jojaba (Merci!)"/>
  313.             <listitem label="Erkan Kaplan (Teşekkürler!)"/>
  314.             <listitem label="Tan Chew Keong (thanks for security advice!)"/>
  315.             <listitem label="kneekoo (Multumesc!)"/>
  316.             <listitem label="Michael Kraft (all hail!)"/>
  317.             <listitem label="Jacinto Leal (Gracias!)"/>
  318.             <listitem label="lloco (Obrigado!)"/>
  319.             <listitem label="loveleeyoungae (C├ím ╞ín!)"/>
  320.             <listitem label="Hrvoje Majer (krcko) (Hvala!)"/>
  321.             <listitem label="Pedro Marques (Obrigado!)"/>
  322.             <listitem label="Norah Marinkovic (πüéπéèπüîπü¿πüå!)"/>
  323.             <listitem label="miles (Hvala!)"/>
  324.             <listitem label="Mook (for help on IPC)"/>
  325.             <listitem label="moZes (Tanke!)"/>
  326.             <listitem label="Xavier Mor-Mur (Gr├ácies!)"/>
  327.             <listitem label="Sol Neckels (thanks!)"/>
  328.             <listitem label="nico@nc (Merci!)"/>
  329.             <listitem label="Sumito_Oda (πüéπéèπüîπü¿πüå!)"/>
  330.             <listitem label="OMNIpotus"/>
  331.             <listitem label="Sunjae Park (δäêδÑ╝ Ω░É∞é¼φòÿ∞ï¡∞ï£∞Üö!)"/>
  332.             <listitem label="Pedsann (Obrigado!)"/>
  333.             <listitem label="Petertc (Φ¼¥Φ¼¥!)"/>
  334.             <listitem label="Rickcart (Φ¼¥Φ¼¥!)"/>
  335.             <listitem label="Ritargatan (Jag tackar!)"/>
  336.             <listitem label="Javi Romero (Gracias!)"/>
  337.             <listitem label="Branislav Rozbora (D'akujem!)"/>
  338.             <listitem label="Jesadavut Saengsawang (Khop Khun Mak!)"/>
  339.             <listitem label="Will Schleter"/>
  340.             <listitem label="Sergeys (Spasibo!)"/>
  341.             <listitem label="Sampan Sittiwantana (Khop Khun Mak!)"/>
  342.             <listitem label="Marco Simonetti (Grazie!)"/>
  343.             <listitem label="Alex Sirota"/>
  344.             <listitem label="Benjamin Smedberg (for help on IPC)"/>
  345.             <listitem label="smg (Teşekkürler!)"/>
  346.             <listitem label="Martin Srebotnjak (Hvala!)"/>
  347.             <listitem label="Tyler Sticka (for the fantastic logo!)"/>
  348.             <listitem label="Phil Summers"/>
  349.             <listitem label="K├ílm├ín Szalai (K├╢sz├╢n├╢m!)"/>
  350.             <listitem label="Simon Tatham (for a brilliant SFTP client!)"/>
  351.             <listitem label="Team erweiterungen.de (Danke!)"/>
  352.             <listitem label="urko (Gracias!)"/>
  353.             <listitem label="Aigar Vals (T├ñname!)"/>
  354.             <listitem label="Momchil Valkov (Merci, Blagodaria!)"/>
  355.             <listitem label="Nick Vidal (Obrigado!)"/>
  356.             <listitem label="Ladislav Vykukal (Děkuji!)"/>
  357.             <listitem label="Martijn Weisbeek (Dank u!)"/>
  358.             <listitem label="Shixin Zeng (Φ░óΦ░ó!)"/>
  359.             <listitem label="Leszek(teo) Życzkowski (Dziekuje!)"/>
  360.             <listitem label="MozDev Group, Inc. (you guys rock!)"/>
  361.             <listitem label="&allothers.label;"/>
  362.             <listitem label="&special.label;"/>
  363.           </listbox>
  364.         </tabpanel>
  365.       </tabpanels>
  366.     </tabbox>
  367.  
  368.   </prefpane>
  369. </prefwindow>
  370.